import { Map } from 'immutable'
const defaultState = Map({
    showTabBar : true,
})

const reducer = (state = defaultState, action) => {
    switch(action.type) {
        case 'true':
            return state.set('showTabBar', true)
        case 'false':
            return state.set('showTabBar', false)
        default:
            return state
    }
}
export default reducer